<div class="box darkBox">
	<h3 class="topUsers">
        <?echo lang('top_users')?>
    </h3>
	<ul class="topUsersSort topUsersSortHome">
        <li>
			<a <?php if($freq=='week') echo 'class="selected"'?> href="<?php echo url_create('site','rankstats','index','week/150')?>">trong tuần</a>            /
        </li>
        <li>
			<a <?php if($freq=='month') echo 'class="selected"'?> href="<?php echo url_create('site','rankstats','index','month/150')?>">trong tháng</a>            /
        </li>
        <li>
			<a <?php if($freq=='all') echo 'class="selected"'?> href="<?php echo url_create('site','rankstats','index','all/150')?>">tất cả</a>        </li>
    </ul>
	<div class="clear"></div>
	<div class="topUsers">
		<?php foreach ($users as $user) { ?>
			<div class="item itemWide">
				<a href="<?php echo $user->link ?>">
					<img src="<?php echo $user->avatar ?>">
					<div class="info">
						<span class="name"><?php echo $user->fullname ?></span> <span class="likes"><?php echo $user->likes ?></span>
					</div>
				</a>
			</div>
		<?php } ?>
	</div>
	<div class="clear"></div>
</div>